/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.pbs.pojos;

import java.util.LinkedList;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

/**
 *
 * @author Luiz Segundo
 */
@Entity
public class Responsavel extends PessoaFisica{

        @OneToMany
        private List<Aluno> alunos = new LinkedList<Aluno>();

        public List<Aluno> getAlunos() {
                return alunos;
        }

        public void setAlunos(List<Aluno> alunos) {
                this.alunos = alunos;
        }
}
